package com.hackintosh.observer.trade;

/**
 * @description：
 * @author：twislyn
 * @date：Created in 2021/05/27
 * @modified By：
 * @version: 1.0
 */
public class RMBrateTest {

    public static void main(String[] args) {

        Rate rate = new RMB();

        Company oil = new Oil();
        Company clothing = new Clothing();

        rate.add(oil);
        rate.add(clothing);

        rate.change(9);
        rate.change(-6);
    }

}
